package com.aaa.hospital.service;

import com.aaa.hospital.pojo.vo.Phone;
import com.aaa.hospital.result.AjaxResult;
import org.apache.ibatis.annotations.Param;

/**
 * Author:张海金
 * Description:T0D0
 * DateTime:2022/1/5 17:45
 **/

public interface EmpService {

    AjaxResult login(String username, String password);

    AjaxResult getInfo();

    AjaxResult sendCode(String telephone);

    AjaxResult register(Phone p);

    AjaxResult add(Phone p);

    AjaxResult updatePassword(@Param("password") String username, @Param("newpassword") String password);

    AjaxResult signin(String zhanghao, String mima);


    AjaxResult yanzheng();

    AjaxResult verification();


    AjaxResult logout();

    AjaxResult getNickname();

}
